{
  fetchFromGitLab,
  lib,
  rustPlatform,
}:

rustPlatform.buildRustPackage {
  pname = "ograc";
  version = "0.1.6";
  src = fetchFromGitLab {
    owner = "lirnril";
    repo = "ograc";
    rev = "d09b3102ff7a364bf2593589327a16a473bd4f25";
    hash = "sha256-vdHPFY6zZ/OBNlJO3N/6YXcvlddw2wYHgFWI0yfSgVo=";
  };

  cargoHash = "sha256-rWU8rOGLUrSkXLkHib8qkkiOZvuGbSJ4knFrHuD+R44=";

  meta = with lib; {
    description = "Like cargo, but backwards";
    mainProgram = "ograc";
    homepage = "https://crates.io/crates/ograc";
    license = licenses.agpl3Plus;
    maintainers = with maintainers; [ sciencentistguy ];
  };
}
